﻿using System;
using System.Collections.Generic;
using EasyHome.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace EasyHome.Models
{
    public class ContactoDato
    {
        public Guid id { get; set; }
        public string Dato { get; set; }
        [ForeignKey("TablaDato")]
        public Guid TipoId { get; set; }
        [ForeignKey("Contacto")]
        public Guid ContactoId { get; set; }
        public virtual TablaDato TablaDato { get; set; }
        public virtual Contacto Contacto { get; set; }
        
    }
}